home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 14 / Hot Mix 14.iso / HTML / vendors / finesse / examples / sh / aba next >
Text File  |  1996-06-27  |  994b  |  35 lines

  1. #! /bin/sh
  2. # FINESSEAPPLICATIONKEY sLQOpdoqVX?QQ
  3. #
  4. # Shell script aba
  5. #
  6. . ${FINESSEPATH-/usr/local/finesse}/fsshinit
  7.  
  8. trap "Fsclose" 1 2 3 13 15    # (1*) add 0 while testing
  9.  
  10. Fsopen "$@"                   # (2*)
  11.  
  12. aba1="                                      
  13.   FsWindow        -name aba1
  14.                   -title Aba1
  15.                   -btype osa;
  16.   FsSeparator;
  17.   FsOptionMenu    -label 'Select program type:'
  18.                   -items 'analyse restart postout 
  19.                        postfile savedata'
  20.                   -var progtype=analyse;
  21.   FsSeparator;
  22.   FsSelectionText -var inputfile 
  23.                   -label 'Input File:';
  24.   FsSeparator;
  25.   FsText          -var projectno
  26.                   -label 'Project Number:';
  27.   FsText          -var timelimit
  28.                   -label 'Time limit (Min):';
  29.   FsText          -var memory
  30.                   -label 'Memory (Mb):';
  31.   FsSeparator;"                                 # (3*)
  32.  
  33. Fsdisplay -w "$aba1"                            # (4)
  34. Fsclose
  35.